package com.bankapp.domain.bank;

public class Email {

    private String emailAddress;

    public Email(String emailAddress) {
        this.emailAddress = emailAddress;
    }

    public String getEmailAddress() {

        return emailAddress;
    }

    @Override
    public String toString() {
        return new StringBuffer()
                .append("Email ")
                .append("to ")
                .append(emailAddress)
                .toString();
    }
}
